#include "FileServer.h"


int main(int argc, char* argv[]){

	int port = atoi(argv[1]);
  
	char format[7] = "format";

	bool form;
 	
	if(argc > 2){
		if(strcmp(format, argv[2])==0){
			form = true;
		}
		else{
			form = false;
		}

	}
	else{
		form = false;
	}

  	FileServer server(port, form);

	server.Start();

}
